<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <!-- <meta name="viewport" content="width=device-width, initial-scale=1.0"> -->
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no">

    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <link rel="stylesheet" href="./css/base.css">
    <link rel="stylesheet" href="./css/bjss.css">
    <link rel="stylesheet" href="./css/productilist.css">
</head>

<body>
    <!-- 头部 -->
    <div class="mmb_header">
        <div class="mmb_log">
            <a href="./index.html" class="f_left">
                <img src="./images/header_logo.png" alt="">
            </a>
            <a href="javascript:;" class=" f_right">
                <img src="./images/header_app.png" alt="">
            </a>
        </div>
        <div class="mmb_search">
            <input type="search" name="" id="" placeholder="请输入你想比价的商品">
            <input type="button" value="搜索">
        </div>
    </div>
    <main>
        <nav><a href="./index.html">首页 &gt;</a>
            <a href="./category.html" class="fl">全部分类 &gt;</a>
          <!-- 分类占坑专用 -->
            <a href="javascript:void(0);">筛选</a>
        </nav>
        <section class="product-list">
            <!-- 列表占坑专用 -->

        </section>
        <div class="to-top" style="display: none;"><a href="javascript:void(0);"></a>
        </div>
       
    </main>
    <script src="./js/zepto/zepto.js"></script>
    <script src="./js/productist.js"></script>
    <script src="./js/art-template/template-web.js"></script>
    <script type="text/template" id="titletp">
    {{each result value index}}
    <a href="javascript:void(0);" class="title">{{value.category}}</a>
    
    {{/each}}
    </script>
    <script type="text/template" id="listtp">
    {{each result value index}}
    <div class="product-item">
        <a href="product.html?id={{value.productId}}">{{@value.productImg}}</a>
        <div class="product-content">
            <h5><a href="product.html?id={{value.productId}}&categoryid ={{value.categoryId}}">{{value.productName}}</a> </h5>
            <p>{{value.productPrice}}</p><em>{{value.productQuote}}</em><em>{{value.productCom}}</em>
        </div>
    </div>
    
    {{/each}}
    
    </script>
</body>

</html>